Optimal. Leaf size=223 \[ -\frac{(b c-a d) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{4 \sqrt{2} a^{3/4} b^{5/4}}+\frac{(b c-a d) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{4 \sqrt{2} a^{3/4} b^{5/4}}-\frac{(b c-a d) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{2 \sqrt{2} a^{3/4} b^{5/4}}+\frac{(b c-a d) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right )}{2 \sqrt{2} a^{3/4} b^{5/4}}+\frac{d x}{b} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.298679, antiderivative size = 223, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 7, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.412 \[ -\frac{(b c-a d) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{4 \sqrt{2} a^{3/4} b^{5/4}}+\frac{(b c-a d) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{4 \sqrt{2} a^{3/4} b^{5/4}}-\frac{(b c-a d) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{2 \sqrt{2} a^{3/4} b^{5/4}}+\frac{(b c-a d) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right )}{2 \sqrt{2} a^{3/4} b^{5/4}}+\frac{d x}{b} \]
Antiderivative was successfully verified.
[In] Int[(c + d*x^4)/(a + b*x^4),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 61.2056, size = 204, normalized size = 0.91 \[ \frac{d x}{b} + \frac{\sqrt{2} \left (a d - b c\right ) \log{\left (- \sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x + \sqrt{a} + \sqrt{b} x^{2} \right )}}{8 a^{\frac{3}{4}} b^{\frac{5}{4}}} - \frac{\sqrt{2} \left (a d - b c\right ) \log{\left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x + \sqrt{a} + \sqrt{b} x^{2} \right )}}{8 a^{\frac{3}{4}} b^{\frac{5}{4}}} + \frac{\sqrt{2} \left (a d - b c\right ) \operatorname{atan}{\left (1 - \frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}} \right )}}{4 a^{\frac{3}{4}} b^{\frac{5}{4}}} - \frac{\sqrt{2} \left (a d - b c\right ) \operatorname{atan}{\left (1 + \frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}} \right )}}{4 a^{\frac{3}{4}} b^{\frac{5}{4}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((d*x**4+c)/(b*x**4+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.214753, size = 196, normalized size = 0.88 \[ \frac{8 a^{3/4} \sqrt [4]{b} d x-\sqrt{2} (b c-a d) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )+\sqrt{2} (b c-a d) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )-2 \sqrt{2} (b c-a d) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )+2 \sqrt{2} (b c-a d) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right )}{8 a^{3/4} b^{5/4}} \]
Antiderivative was successfully verified.
[In] Integrate[(c + d*x^4)/(a + b*x^4),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.005, size = 266, normalized size = 1.2 \[{\frac{dx}{b}}-{\frac{\sqrt{2}d}{4\,b}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-1 \right ) }+{\frac{\sqrt{2}c}{4\,a}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-1 \right ) }-{\frac{\sqrt{2}d}{8\,b}\sqrt [4]{{\frac{a}{b}}}\ln \left ({1 \left ({x}^{2}+\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) \left ({x}^{2}-\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) ^{-1}} \right ) }+{\frac{\sqrt{2}c}{8\,a}\sqrt [4]{{\frac{a}{b}}}\ln \left ({1 \left ({x}^{2}+\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) \left ({x}^{2}-\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) ^{-1}} \right ) }-{\frac{\sqrt{2}d}{4\,b}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+1 \right ) }+{\frac{\sqrt{2}c}{4\,a}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+1 \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((d*x^4+c)/(b*x^4+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^4 + c)/(b*x^4 + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.238155, size = 743, normalized size = 3.33 \[ \frac{4 \, b \left (-\frac{b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}}{a^{3} b^{5}}\right )^{\frac{1}{4}} \arctan \left (-\frac{a b \left (-\frac{b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}}{a^{3} b^{5}}\right )^{\frac{1}{4}}}{{\left (b c - a d\right )} x +{\left (b c - a d\right )} \sqrt{\frac{a^{2} b^{2} \sqrt{-\frac{b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}}{a^{3} b^{5}}} +{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} x^{2}}{b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}}}}\right ) - b \left (-\frac{b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}}{a^{3} b^{5}}\right )^{\frac{1}{4}} \log \left (a b \left (-\frac{b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}}{a^{3} b^{5}}\right )^{\frac{1}{4}} -{\left (b c - a d\right )} x\right ) + b \left (-\frac{b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}}{a^{3} b^{5}}\right )^{\frac{1}{4}} \log \left (-a b \left (-\frac{b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}}{a^{3} b^{5}}\right )^{\frac{1}{4}} -{\left (b c - a d\right )} x\right ) + 4 \, d x}{4 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^4 + c)/(b*x^4 + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 2.37949, size = 87, normalized size = 0.39 \[ \operatorname{RootSum}{\left (256 t^{4} a^{3} b^{5} + a^{4} d^{4} - 4 a^{3} b c d^{3} + 6 a^{2} b^{2} c^{2} d^{2} - 4 a b^{3} c^{3} d + b^{4} c^{4}, \left ( t \mapsto t \log{\left (- \frac{4 t a b}{a d - b c} + x \right )} \right )\right )} + \frac{d x}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x**4+c)/(b*x**4+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.217809, size = 331, normalized size = 1.48 \[ \frac{d x}{b} + \frac{\sqrt{2}{\left (\left (a b^{3}\right )^{\frac{1}{4}} b c - \left (a b^{3}\right )^{\frac{1}{4}} a d\right )} \arctan \left (\frac{\sqrt{2}{\left (2 \, x + \sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{4 \, a b^{2}} + \frac{\sqrt{2}{\left (\left (a b^{3}\right )^{\frac{1}{4}} b c - \left (a b^{3}\right )^{\frac{1}{4}} a d\right )} \arctan \left (\frac{\sqrt{2}{\left (2 \, x - \sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{4 \, a b^{2}} + \frac{\sqrt{2}{\left (\left (a b^{3}\right )^{\frac{1}{4}} b c - \left (a b^{3}\right )^{\frac{1}{4}} a d\right )}{\rm ln}\left (x^{2} + \sqrt{2} x \left (\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{\frac{a}{b}}\right )}{8 \, a b^{2}} - \frac{\sqrt{2}{\left (\left (a b^{3}\right )^{\frac{1}{4}} b c - \left (a b^{3}\right )^{\frac{1}{4}} a d\right )}{\rm ln}\left (x^{2} - \sqrt{2} x \left (\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{\frac{a}{b}}\right )}{8 \, a b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^4 + c)/(b*x^4 + a),x, algorithm="giac")
[Out]